﻿@model WSongPrjFinal.Models.Usuario
@{
    ViewBag.Title = "Index";
}
@using (Html.BeginForm(method: FormMethod.Post, actionName: "Index", controllerName: "Usuario"))
{
    @Html.ValidationSummary(true)


    
    <div style="float: left">
        <div class="panel" title="Cadastre-se" >
            <div class="panel-heading">Cadastre-se</div>
            <form>
                <fieldset style="width: 410px">

                    <div class="form-group">
                        <label for="exampleInputName">Nome</label>
                        @Html.TextBoxFor(model => model.nome, new {@type = "text", @class = "form-control", @id = "exampleInputEmail", @placeholder = "Qual o seu Nome?", @style = "width:390px"})
                        @Html.ValidationMessageFor(model => model.nome)
                    </div>
                    <div class="form-group">
                        <label for="exampleInputLogin">Login</label>
                        @Html.TextBoxFor(model => model.login, new {@type = "text", @class = "form-control", @id = "exempleInputPassword", @placeholder = "Crie um Login", @style = "width:390px"})
                        @Html.ValidationMessageFor(model => model.login)
                    </div>
                    <div class="form-group">
                        <label for="exampleInputEmail">Email</label>
                        @Html.TextBoxFor(model => model.email, new {@type = "text", @class = "form-control", @id = "exempleInputPassword", @placeholder = "Informe um Email", @style = "width:390px"})
                        @Html.ValidationMessageFor(model => model.email)
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword">Senha</label>
                        @Html.TextBoxFor(model => model.senha, new {@type = "password", @class = "form-control", @id = "exempleInputPassword", @placeholder = "Crie uma Senha", @style = "width:390px"})
                        @Html.ValidationMessageFor(model => model.senha)
                    </div>
                    <button type="submit" class="btn btn-default" style="width: 390px"><img src="~/Content/imgs/media-play-pause-resume.png"/></button>
                </fieldset>
            </form>
            
        </div>
    </div>
}
    

@using (Html.BeginForm(method: FormMethod.Post, actionName: "Index", controllerName: "Login"))
{
    <div style="float: right">
        <div class="panel" title="Login" >
            <div class="panel-heading">Log-in</div>
            <form>
                <fieldset style="width: 410px">

                    
                    <div class="form-group">
                        <label for="exampleInputLogin">Login</label>
                        @Html.TextBoxFor(model => model.login, new {@type = "text", @class = "form-control", @id = "exempleInputPassword", @placeholder = "Informe o Login", @style = "width:390px"})
                    </div>
                    
                    <div class="form-group">
                        <label for="exampleInputPassword">Senha</label>
                        @Html.TextBoxFor(model => model.senha, new {@type = "password", @class = "form-control", @id = "exempleInputPassword", @placeholder = "Informe a Senha", @style = "width:390px"})
                    </div>
                    <button type="submit" class="btn btn-default" style="width: 390px"><img src="~/Content/imgs/media-play-pause-resume.png"/></button>
                </fieldset>
            </form>
        </div>
        <div align="center"><img src="~/Content/imgs/OPed2.png"/></div>
    </div>
}

@section Scripts{
    @Scripts.Render("~/bundles/jqueryval");
}

@*@Html.ActionLink("Teste", "CadastroFisico","Home")*@

